BCM270X_DT: Allow multiple instances of w1-gpio overlays
authorPhil Elwell <phil@raspberrypi.org>
Tue, 28 Mar 2017 13:22:20 +0000 (14:22 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:36:54 +0000 (17:36 +0000)
commit001d0546dd9c7d3cce4db6bfbcd6ed345faad792
tree39509deac828d63a883419a73781c1e325a0406c
parentf5673d0064fdb4b36bbf5bcc9c8945c48d10d253
BCM270X_DT: Allow multiple instances of w1-gpio overlays

Upcoming firmware will modify the address portion of node names when
their "reg" property is written by a dtparam. Modify the w1-gpio
overlays to write the gpiopin parameter value to "reg" properties, so
that multiple instances can be loaded simultaneously.

Note: The value of the "address" is unimportant - the w1 subsystem
assigns instance numbers to buses sequentially from 1, and it is
not necessary to know which bus a device is on in order to find it.
arch/arm/boot/dts/overlays/w1-gpio-overlay.dts
arch/arm/boot/dts/overlays/w1-gpio-pullup-overlay.dts